package org.javaymw.springboot.entity;

import org.javaymw.springboot.base.BaseEntity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * @Auther: zhaoxinguo
 * @Date: 2018/7/26 12:43
 * @Description: 用户角色关联表
 */
@TableName("au_user_role")
public class UserRoleEntity extends BaseEntity<UserRoleEntity> {

    @TableField("user_id")
    private Long userId;

    @TableField("role_id")
    private Long roleId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
}
